<?php
/*!
 * LostKids API PHP Library v0.1 
 * http://huali.li/
 *
 * Copyright 2010, 
 * Written By James Pang
 *  
 * Date: 2011/2/14
 */

define('ABSPATH', dirname(__FILE__) . '/');

////// app configs
// 最多单次获取的消息数
define('app_maxRetrieveMsgs', 300);

// 注册face的最少照片数
define('app_minRegisterImg', 3);

// seeker注册face的最少照片数
define('app_minSeekerRegisterImg', 3);




////// face.com props
// define('fc_namespace', 'lostkids');
define('fc_namespace', 'teststar');
define('fc_apiKey', 'aaaaaaaaaaaaaaaaa');
define('fc_apiSecret', 'bbbbbbbbbbbbbbbb');
define('fc_recogThreshold', 60);

////// t.sina props
define('WB_AKEY', '1141150808');
define('WB_SKEY', 'cccccccccccccccccccccccccc');
define('x_auth_user', '17findkids@gmail.com');
define('x_auth_pwd', 'dddddddddddddddd');

/////// MySQL
define('db_url', 'localhost');
define('db_user', 'root');
define('db_pwd', '1');
define('db_database', 'lostkids');

///// assembly surfixes
// interfaceName -> surfix, default surfix is 'Impl' if not set.
$assembly_services = array(
    'WeiboClientXAuthed' => ''
);

// interfaceName -> array of surfixes.
$assembly_plugins = array('MsgSrcPlugin' => array('Sina')//, 'Tencent', 'NetEase',
    //'Sohu', 'Fanfou')
);

// include paths
$inc_dirs = array(
    
    ABSPATH.'common',
    ABSPATH.'inc',
    ABSPATH.'impl',
    ABSPATH.'impl/facecom',
    ABSPATH.'impl/facecom/libs',
    ABSPATH.'impl/tsina',
    ABSPATH.'impl/tsina/client',
    ABSPATH.'impl/tsina/oauth',
);
set_include_path(implode(PATH_SEPARATOR, $inc_dirs));
spl_autoload_register();
?>
